package com.example.keli.ui.userinfo;

import java.util.List;

/**
 * Description:
 * Data：2019/3/27-10:31
 * Author: Allen
 */
public class AddressData {
    /**
     * pid : 0
     * pinyin : B
     * is_user_region : true
     * is_activity : false
     * is_popular : false
     * label : 北京
     * value : 1
     * children : [{"pid":1,"pinyin":"B","is_user_region":"true","is_activity":"false","is_popular":"false","label":"北京市","value":2}]
     */

    private int pid;
    private String pinyin;
    private String is_user_region;
    private String is_activity;
    private String is_popular;
    private String label;
    private int value;
    private List<ChildrenBean> children;

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getIs_user_region() {
        return is_user_region;
    }

    public void setIs_user_region(String is_user_region) {
        this.is_user_region = is_user_region;
    }

    public String getIs_activity() {
        return is_activity;
    }

    public void setIs_activity(String is_activity) {
        this.is_activity = is_activity;
    }

    public String getIs_popular() {
        return is_popular;
    }

    public void setIs_popular(String is_popular) {
        this.is_popular = is_popular;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        /**
         * pid : 1
         * pinyin : B
         * is_user_region : true
         * is_activity : false
         * is_popular : false
         * label : 北京市
         * value : 2
         */

        private int pid;
        private String pinyin;
        private String is_user_region;
        private String is_activity;
        private String is_popular;
        private String label;
        private int value;

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getIs_user_region() {
            return is_user_region;
        }

        public void setIs_user_region(String is_user_region) {
            this.is_user_region = is_user_region;
        }

        public String getIs_activity() {
            return is_activity;
        }

        public void setIs_activity(String is_activity) {
            this.is_activity = is_activity;
        }

        public String getIs_popular() {
            return is_popular;
        }

        public void setIs_popular(String is_popular) {
            this.is_popular = is_popular;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }
}
